#ifndef NUMBERITEM_H
#define NUMBERITEM_H

#include <QGraphicsObject>
#include <QTimer>

class NumberItem : public QGraphicsObject
{
    Q_OBJECT
public:
    NumberItem();

    void Start();
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    virtual QRectF boundingRect() const;
public:
    QPixmap         m_numImage;
    QVector<int>    m_numarr;
    QTimer          m_timer;
    bool            m_bRun;
    bool            m_bFadeIn;
public slots:
    void    ShowNum();
};

#endif // NUMBERITEM_H
